package com.mode.composite.pattern;

/**
 * 抽象公司接口
 */
public abstract class Company {

    private String name;

    public Company(String name) {
        super();
        this.name = name;
    }

    public abstract void add(Company company);

    public abstract void remove(Company company);

    public abstract void display(int depth);

    public abstract void LineOfDuty();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}